<?php
/**
 * Created by PhpStorm.
 * User: Eric
 * Email: 13522679763@163.com
 * Date: 2018/3/12
 * Time: 14:05
 */
namespace app\api\model;
use think\Model;
class User extends Model
{
//    protected $table='cx_user';
//    protected $pk='id';
//    /**
//     * 获取 user_identity 表中的用户ID
//     * @return mixed
//     * @author jihaichuan
//     */
//    public function get_user_no()
//    {
//        return $this->hasOne('UserIdentity', 'user_id')->value('user_no');
//    }
}